package org.apache.dolphinscheduler.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.dolphinscheduler.dao.entity.OutputInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OutputInfoMapper extends BaseMapper<OutputInfo> {
    List<OutputInfo> getInfo(@Param("point") int point, @Param("nodeId") int nodeId, @Param("type") int type);

    void delByProcessInstanceId(@Param("processInstanceId") int processInstanceId);

    void delByProcessDefinitionId(@Param("processDefinitionId") int processDefinitionId);

    void delByTaskInstanceId(@Param("taskInstanceId") int taskInstanceId);
}
